package com.inspectionwork.model.safetyknowledge;

import com.baomidou.mybatisplus.annotation.TableName;
import com.inspectionwork.common.base.BasisEntity;

import java.util.Date;

/**
 * @Author: YangYu
 * @ClassName: SafetyKnowledge
 * @Date: Created in 10:55 2022/6/23
 * @Description: 安全知识
 */
@TableName("safety_knowledge")
public class SafetyKnowledge extends BasisEntity {

    /**
     * 主键id
     */
    private String id;
    /**
     * 标题
     */
    private String title;
    /**
     * 标题
     */
    private String introduction;
    /**
     * 内容
     */
    private String content;
    /**
     * 来源
     */
    private String source;
    /**
     * 发布时间
     */
    private Date time;
    /**
     * 知识类型：1.安全知识 2.消防救援3.法律法规4.政府发布5.政策解答
     */
    private String knowledgeType;
    /**
     * 图片、视频地址
     */
    private String path;
    /**
     * 视频封面
     */
    private String cover;

    /**
     * 发布人
     */
    private String publisher;

    /**
     * 文章状态
     */
    private String state;
    /**
     * 创建时间
     */
    private Date creationTime;

    /**
     * 本机构以及上级机构
     */
    private String orgIds;

    public String getOrgIds() {
        return this.getString("orgIds");
    }

    public void setOrgIds(String orgIds) {
        this.put("orgIds",orgIds);
    }

    public String getPublisher() {
        return this.getString("publisher");
    }

    public void setPublisher(String publisher) {
        this.put("publisher",publisher);
    }

    public String getState() {
        return this.getString("state");
    }

    public void setState(String state) {
        this.put("state",state);
    }

    public Date getCreationTime() {
        return this.getDate("creationTime");
    }

    public void setCreationTime(Date creationTime) {
        this.put("creationTime",creationTime);
    }

    public String getCover() {
        return this.getString("cover");
    }

    public void setCover(String cover) {
        this.put("cover",cover);
    }

    public String getIntroduction() {
        return this.getString("introduction");
    }

    public void setIntroduction(String introduction) {
        this.put("introduction",introduction);
    }

    public String getId() {
        return this.getString("id");
    }

    public void setId(String id) {
        this.put("id",id);
    }

    public String getTitle() {
        return this.getString("title");
    }

    public void setTitle(String title) {
        this.put("title",title);
    }

    public String getContent() {
        return this.getString("content");
    }

    public void setContent(String content) {
        this.put("content",content);
    }

    public String getSource() {
        return this.getString("source");
    }

    public void setSource(String source) {
        this.put("source",source);
    }

    public Date getTime() {
        return this.getDate("time");
    }

    public void setTime(Date time) {
        this.put("time",time);
    }

    public String getKnowledgeType() {
        return this.getString("knowledgeType");
    }

    public void setKnowledgeType(String knowledgeType) {
        this.put("knowledgeType",knowledgeType);
    }

    public String getPath() {
        return this.getString("path");
    }

    public void setPath(String path) {
        this.put("path",path);
    }
}
